<template>
  <div>
    <div class="box" v-for="(item,index) in datahzhb" :key="index">
      <van-row class="box-1">
        <van-col span="6"
          ><img src="../assets/我的客户/旗下企业-头像.png" alt=""
        /></van-col>
        <van-col span="16" class="box-2">
          <p>企业名称:{{item.company}}</p>
          <p>注册时间:{{item.createTime}}</p>
          <p>法人:{{item.creator}}</p>
        </van-col>
        <van-col span="2"><van-icon name="arrow" /></van-col>
      </van-row>
    </div>
  </div>

  <!-- 

company: "宁波卓客企业管理咨询有限公司"
createTime: "2019-07-01"
creator: "赵俊荣"

   -->
</template>

<script>
export default {
  props:["datahzhb"],
  data() {
    return {};
  },
};
</script>
 
<style lang = "less" scoped>
.box {
  padding: 20px;
  .box-1 {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    img {
      width: 100%;
    }
  }
  .box-2 {
    padding-left: 10px;
    p {
      font-size: 14px;
    }
  }
  .van-icon {
    margin-top: 47px;
  }
}
</style>